package com.ebai.product.management.model.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

@MappedSuperclass
public class BaseEntity {

	@Column(name = "CREATE_TIME")
    private java.sql.Timestamp createTime;

    @Column(name = "CREATOR", length = 50)
    private String creator;

    @Column(name = "LAST_UPDATE_TIME")
    private java.sql.Timestamp lastUpdateTime;

    @Column(name = "LAST_UPDATE_REGENERATOR", length = 50)
    private String lastUpdateRegenerator;
    
    @Transient
    private String createTimeBetween;

	public java.sql.Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.sql.Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public java.sql.Timestamp getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(java.sql.Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateRegenerator() {
		return lastUpdateRegenerator;
	}

	public void setLastUpdateRegenerator(String lastUpdateRegenerator) {
		this.lastUpdateRegenerator = lastUpdateRegenerator;
	}

	public String getCreateTimeBetween() {
		return createTimeBetween;
	}

	public void setCreateTimeBetween(String createTimeBetween) {
		this.createTimeBetween = createTimeBetween;
	}
    
}
